﻿using MediatR;
using SmartCity.ProcessEngine.Api.Read.Dtos;
using SmartCity.ProcessEngine.ErrorCode;

namespace SmartCity.ProcessEngine.Api.Read.Application.Command.Instance
{
    /// <summary>
    /// 查找我的待办
    /// </summary>
    public class GetMyInstanceCommand:IRequest<ApiPaging<MyInstanceDTO>>
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }

        /// <summary>
        /// 我(当前登陆人,也是流程实例的下一个操作人)
        /// </summary>
        public string Me {  get; set; }
        /// <summary>
        /// 根据流程模板id,查找实例
        /// </summary>
        public long? FormId {  get; set; }
    }
}
